package com.changy.ai_tutor_for_dm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionsSingle {
    /**
     * 关联 questions表的 id，作为本表主键
     */
    private Long questionId;


    /**
     * 选项列表，JSON 格式，例如：[{"id":"A","text":"(p∧q)"},{"id":"B","text":"p∨q"}]
     */
    private List<Option> optionlist;
    private String options;


    /**
     * 正确选项的 id，例如 "A"、"B" 等
     */
    private String correctOption;

    /**
     * 答案解析，String
     */
    private String analysis;
}
